package com.example.port.mapper;

import com.example.port.entity.Client;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ClientMapper {
    
    int insert(Client client);
    
    List<Client> selectAll();
    
    Client selectById(Integer clientId);
    
    int update(Client client);
    
    int delete(Integer clientId);
    
    // 获取最大客户ID
    Integer getMaxClientId();
} 
